﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.EnterpriseLibrary.Common.Configuration;
using Microsoft.Practices.EnterpriseLibrary.Data;

namespace EnblibTest
{
    public static class GetDB
    {
        public static Database CreateDataBase(string name = "") 
        {
            return EnterpriseLibraryContainer.Current.GetInstance<Database>(name);
        }
    }
}
